#ifndef LOG_H
#define LOG_H

#include <time.h>
#include "http_connection.h"
#include "host_list.h"

void log_request (struct tm *local_time, http_connection_t *http_connection, host_t *host);
void proxy_log_request (struct tm *local_time, http_connection_t *http_connection, buffer_t *host);

void log_error (const char *format, ...);

#endif /* LOG_H */
